package com.ruoyi.exam.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 创建任务时绑定的试卷对象 t_task_exam_paper
 * 
 * @author ruoyi
 * @date 2024-12-19
 */
public class TTaskExamPaper extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    private Long id;

    /** 关联任务id */
    @Excel(name = "关联任务id")
    private Long taskId;

    /** 关联任务执行id */
    @Excel(name = "关联任务id")
    private Long taskExeId;

    /** 考卷内容 */
    @Excel(name = "考卷内容")
    private String paperContent;

    /** 是否删除(0未删除 1已删除) */
    private Integer deleted;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setPaperContent(String paperContent) {
        this.paperContent = paperContent;
    }

    public String getPaperContent() {
        return paperContent;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setTaskExeId(Long taskExeId) {
        this.taskExeId = taskExeId;
    }

    public Long getTaskExeId() {
        return taskExeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskId", getTaskId())
                .append("taskExeId", getTaskExeId())
                .append("paperContent", getPaperContent())
                .append("deleted", getDeleted())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
